 // Popup window code for employee.html
 function newPopup(url)
 {
	//this popup looks much better in IE since it correctly does not show the status and location bar
	window.open(url,'PayrollApp','height=250,width=350,toolbar=0,location=0,status=0,menubar=0,directories=0')
 }
 
function checkAll(form, fields, checker)
{
	if(checker.checked)
	{
		for (i = 0; i < document.forms[form].elements[fields].length; i++)
			document.forms[form].elements[fields][i].checked = true;
	}
	else
	{	
		for (i = 0; i < document.forms[form].elements[fields].length; i++)
			document.forms[form].elements[fields][i].checked = false;
	}
}